<div class="blade-content __large-wide" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <div class="table-wrapper">
        <table class="table">
          <thead>
            <tr>
              <!-- <th class="table-col">
                <label class="form-control __checkbox">
                        <input (click)="onAllCheack($event.target)" #allCheckRef name="allCheck"  id="allCheck" type="checkbox">
                      <span class="check"></span>
               </label>
              </th> -->
              <th class="table-col">序号</th>
               <th class="table-col">电量类型</th>          
              <th class="table-col">表达式</th>
              <!-- <th class="table-col">描述</th> -->
            </tr>
          </thead>
          <tbody>
            <tr class="table-item" [ngClass]="{'__selected': currentEntity?.categoryId == item.categoryId}" *ngFor="let item of calculateExpressions let i =index ">
              <!-- <td class="table-col">
                <label class="form-control __checkbox">
                    <input (click)="onItemCheack($event.target,item)" type="checkbox"  [checked]="allCheckRef.checked">
                      <span class="check"></span>
                </label>
              </td> -->
              <td class="table-col" (click)="onSeletedChange(item)">
                {{i+1}}
              </td>
               <td class="table-col" (click)="onSeletedChange(item)">
                <span class="table-t" (click)="onSeletedChange(item)"> {{item.categoryName}}</span>
              </td> 
              <td class="table-col" (click)="onSeletedChange(item)">
                <span class="table-t" (click)="onSeletedChange(item)"> {{item.expression}}</span>
              </td>
              <!-- <td class="table-col" (click)="onSeletedChange(item)">
                <span class="table-t" (click)="onSeletedChange(item)"> {{item.desc}}</span>
              </td>        -->
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>
